//
//  IJLoginSDKMacro.h
//  IJLoginSDK
//
//  Created by yafei liu on 2021/4/12.
//

#ifndef IJLoginSDKMacro_h
#define IJLoginSDKMacro_h

#import "NSBundle+IJLoginSDK.h"

#define IJ_LocalizedStringFromTableInBundle(key, bundle, comment) \
        [bundle localizedStringForKey:(key) value:@"" table:(nil)]
#define IJ_LocalizedString(key) IJ_LocalizedStringFromTableInBundle(key,[NSBundle ij_IJLoginSDKBundle] ,nil)

#define IJ_SuppressPerformSelectorLeakWarning(Stuff) \
do { \
_Pragma("clang diagnostic push") \
_Pragma("clang diagnostic ignored \"-Warc-performSelector-leaks\"") \
Stuff; \
_Pragma("clang diagnostic pop") \
} while (0)

#endif /* IJLoginSDKMacro_h */
